package com.luoye.lj.util.excel.format;

import java.util.Date;

/*
 * Created with IntelliJ IDEA.
 * User: Dave Liu
 * Date: 2016/6/27
 * Time: 15:17
 * To change this template use File | Settings | File Templates.
 */
public class ValueFormatAdapter implements IValueFormat {
    @Override
    public String format(int value) {
        return value+"";
    }

    @Override
    public String format(float value) {
        return value+"";
    }

    @Override
    public String format(double value) {
        return value+"";
    }

    @Override
    public String format(long value) {
        return value+"";
    }

    @Override
    public String format(byte value) {
        return value+"";
    }

    @Override
    public String format(short value) {
        return value+"";
    }

    @Override
    public String format(boolean value) {
        return value+"";
    }

    @Override
    public String format(char value) {
        return value+"";
    }

    @Override
    public String format(Date value) {
        return value+"";
    }

    @Override
    public String format(String value) {
        return value;
    }
}
